package stud.mpgame.flash.test;
import stud.mpgame.network.MessageDescription;

/**
 * ...
 * @author q
 */

class TestCommandDescription extends MessageDescription {

	private static var ID:Int = 3;

    public static var LOGIN_MESSAGE_ID:Int = 0;

    public override function getID():Int {
        return ID;
    }

    private static var instance:TestCommandDescription = null;
	
	public function new() {
		super();
		this.registerUserObject(LOGIN_MESSAGE_ID, TestCommand);
	}

    public static function getInstance():TestCommandDescription {
        if(instance == null){
            instance = new TestCommandDescription();
        }
        return instance;
    }
	
}